{include file=member.header.html}
<div class="content">
    {include file=member.menu.html}
    <div id="right">
        {include file=member.curlocal.html}
        {include file=member.submenu.html}
        <div class="wrap">
            <div class="public">
                <div class="public_select table">
                    <table>
                        <tbody>
                            <tr class="gray">
                                <th width="10%">{$lang.contact_name}</th>
                                <th>{$lang.sendcontent}</th>
                                <th width="10">{$lang.sendtime}</th>
                                <th width="10%"><span>{$lang.handle}{$my_id}</span></th>
                            </tr>
                            <!--{foreach from=$chat_list item=chat}-->
                            <tr class="line">
                                <!--lichen 2019/6/1 start-->
                                <td class="align2"><a href="{url app=my_chatlog&act=chatlog&receiverid=$chat.receiverid}" target="_blank"><img src="{$chat.contact_portrait}" width="50"/><br/>{$chat.contact_name|escape}</a></td>
                                <!--<td class="align2"><a href="{url app=my_chatlog&act=chatlog&receiverid=$chat.contact_id}" target="_blank"><img src="{$chat.contact_portrait}" width="50"/><br/>{$chat.contact_name|escape}</a></td>-->
                                <!--lichen 2019/6/1 end-->
                                <td class="align2">{$chat.sendcontent|escape}</td>
                                <td class="align2">{$chat.sendtime|date:complete}</td>
                                <td class="align2">
                                    <!--lichen 2019/6/1 start-->
                                    <!--{if $chat.receiverid == $my_id}-->
                                    <a href="{url app=my_chatlog&act=reply&otherid=$chat.senderid}" >{$lang.reply}</a>
                                    <!--{else}-->
                                    <a href="{url app=my_chatlog&act=reply&otherid=$chat.receiverid}" >{$lang.reply}</a>
                                    <!--{/if}-->
                                    <!--lichen 2019/6/1 end-->
                                    <a href="javascript:drop_confirm('{$lang.drop_confirm}', '{url app=my_chatlog&act=drop&receiverid=$chat.contact_id}');" >{$lang.drop}</a>
                                </td>
                            </tr>
                            <!--{foreachelse}-->
                            <tr class="no_data">
                                <td colspan="5" class="align2">{$lang.no_data}</td>
                            </tr>
                            <!--{/foreach}-->
                        </tbody>
                    </table>
                </div>
                {include file=member.page.bottom.html}
                <div class="clear"></div>
            </div>
        </div>
        <div class="clear"></div>
    </div>
    <div class="clear"></div>
</div>
{include file=footer.html}